package org.andhy.formeasy.core;

import java.util.Set;

public interface Valve {
	public final String VALUE = "value";
	public final String ERROR = "error";

	public void setValveContext(ValveContext vc);
	public void setNextValve(Valve valve);
	public void setPreValve(Valve valve);
	public void invoke(Object value, Set<String> msgHold);
	public void invokeNext(Object value, Set<String> msgHold);
}
